package com.duolebo.uteped_sdk.utils;

import android.util.Log;

public class Logger {

    private static boolean enable;
    public static void d(String tag, String message) {
        if (enable) {
            Log.i(tag, message);
        }
        else {
            Log.d(tag, message);
        }
    }

    public static void setEnable(boolean enable) {
        Logger.enable = enable;
    }
}
